package com.yuw.service.impl;

import com.yuw.bean.UserInfoBean;
import com.yuw.service.ILoginService;

public class LoginService4Users implements ILoginService {

    /**
     * 登录业务逻辑处理
     *
     * @param userInfoBean 登录参数shitibean
     * @return 登录结果
     */
    public boolean doLogin(UserInfoBean userInfoBean) {

        System.out.println("登录成功：" + userInfoBean.getUserName());
        return true;
    }

    @Override
    public void doSleeping() {
        System.out.println("user is sleeping...");
    }
}
